import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  lang: 'zh-Hans',
  title: "拟声",
  head: [
    ["meta", { name: "keywords", content: "拟声,拟声app,音乐,歌词弹幕,状态栏歌词,桌面歌词,悬浮歌词,共享与控制,下载,新拟物,音乐云盘,阿里云盘,百度云盘,webdav,coolight,musicxx,mimicrymusic,mymusic,download,music,lyric,mediaplayer,app,android,ios,windows,macos,linux" }]
  ],
  description: "拟物风音视频播放器",
  appearance: "dark",
  lastUpdated: true,
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '主页', link: '/' },
      { text: '下载', link: 'https://download.music.mimicry.cool/' },
      { text: '了解拟声', link: '/info/' },
      { text: '使用帮助', link: '/help/' },
      { text: '关于作者', link: '/about/author/' },
    ],

    sidebar: [
      {
        text: '目录',
        items: [
          { text: '下载', link: 'https://download.music.mimicry.cool/' },
          { text: '了解拟声', link: '/info/' },
          { text: '使用帮助', link: '/help/' },
          { text: '拟声++', link: '/musicPlusPlus/' },
          { text: '开发记录', link: '/develop/' },
        ]
      }
    ],
    footer: {
      message: `
<a target="_blank" href="https://beian.miit.gov.cn/">粤ICP备2021172577号</a>
<a style="display: flex;flex-direction: row;justify-content: center;" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011302003939">
    <img src=""
        style="width:20px;height:20px;margin-right:10px;">
    <span >粤公网安备 44011302003939号</span>
</a>
`,
      copyright: `版权所有 © 2022-${new Date().getFullYear()} <a href="https://github.com/coolight7">『coolight • 郑泳坤』</a> `
    },
    socialLinks: [
      { icon: 'github', link: 'https://github.com/coolight7/musicxx' }
    ],
    notFound: {
      title: "页面未找到",
      quote: "这可能是因为文章迁移，您可以通过本页面左上角的搜索框查找相关内容。",
      linkLabel: "回到主页",
      linkText: "回到主页",
    },
    search: {
      provider: 'local',
      options: {
        translations: {
          button: {
            buttonText: '搜索文档',
            buttonAriaLabel: '搜索文档'
          },
          modal: {
            resetButtonTitle: '清除查询条件',
            backButtonTitle: '取消',
            noResultsText: "无搜索结果",
            footer: {
              selectText: '选择',
              navigateText: '切换',
              closeText: '关闭',
            },
          }
        }
      }
    },
    outlineTitle: "本页",
    lastUpdatedText: "最后更新",
    docFooter: {
      prev: '上一页',
      next: '下一页'
    },
    outline: {
      label: '本页导航'
    },
    langMenuLabel: '多语言',
    returnToTopLabel: '回到顶部',
    sidebarMenuLabel: '菜单',
    darkModeSwitchLabel: '主题',
    lightModeSwitchTitle: '切换到浅色模式',
    darkModeSwitchTitle: '切换到深色模式',
  }
})
